Piwik\DataAccess\LogAggregator D

Total Complexity 132
Dependencies 25
Dependents 18
Total lines 1,008
Lines of code 475
Logical lines of code 304
Comment lines 442
Methods 44
Properties 8

Methods 44

Method Rating Maintainability Complexity Lines of code
generateQuery()
B
43 17 41
queryActionsByDimension()
A
44 10 41
createTemporaryTable()
A
46 10 38
getQueryByDimensionSql()
A
47 8 34
getSelectDimensions()
S
57 6 16
getSelectsFromRangedColumn()
S
50 5 26
getGroupByDimensions()
S
56 5 19
getDimensionsToSelect()
S
58 5 16
cleanup()
S
60 5 13
getSegmentTableSql()
S
57 4 15
getMetricsFromVisitByDimension()
S
59 4 14
queryConversionsByDimension()
S
53 3 21
makeArrayOneColumn()
S
62 4 10
queryConversionsByPageView()
S
58 3 11
queryVisitsByDimension()
S
66 3 7
isMetricRequested()
S
66 3 9
getSelectsMetrics()
S
64 3 10
prefixColumn()
S
68 2 7
getWhereStatement()
S
65 2 8
getSelectStatement()
S
68 2 6
isFieldFunctionOrComplexExpression()
S
77 2 3
__construct()
S
66 2 8
doesSegmentTableExist()
S
65 2 9
isSegmentCacheEnabled()
S
67 2 8
queryConversionsByEntryPageView()
S
59 1 11
setSites()
S
79 1 3
queryEcommerceItems()
S
60 1 10
getSites()
S
82 1 3
getSegment()
S
82 1 3
setQueryOriginHint()
S
81 1 3
getQueryOriginHint()
S
82 1 3
getActionsMetricFields()
S
76 1 3
getSegmentTmpTableName()
S
66 1 7
getGroupByStatement()
S
72 1 5
getGeneralQueryBindParams()
S
74 1 4
getSqlRevenue()
S
78 1 3
getSelectAliasAs()
S
80 1 3
allowUsageSegmentCache()
S
81 1 3
getLogTableProvider()
S
80 1 3
createSegmentTable()
S
70 1 6
getVisitsMetricFields()
S
74 1 3
getConversionsMetricFields()
S
74 1 3
getSqlConversionRevenueSum()
S
77 1 3
getDb()
S
78 1 3